package engine.video.blit;

/**
 * PixelBuffer_I Interface for providing pixel level data access for graphics in
 * the form of a flat pixel array of bytes.
 **/

public interface PixelBuffer_I {
	/**
	 * getWidth
	 * 
	 * @return Returns the width, in pixels, of this pixel buffer.
	 */
	int getWidth();
	/**
	 * getHeight
	 * 
	 * @return Returns the height, in pixels, of this pixel buffer.
	 */
	int getHeight();
	/**
	 * getSize
	 * 
	 * @return Returns the overall size of the pixel buffer, in pixels.
	 * 
	 */
	int getSize();
	/**
	 * getScan0
	 * 
	 * @return Returns the pixels of this buffer as a byte[] in the format of
	 *         indexed pixel data.
	 */
	byte[] getScan0();
}
